<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%request.setAttribute("ctx", request.getContextPath()); %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="menu" style="display:none">
	<!-- 新闻管理模块菜单项     开始  -->
	<div id="xinwen">
		<div style="padding-left:5px;">          
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >添加新闻</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/pages/houtai/news/addNews.jsp" target="main">添加新闻</a>
				</c:if>
			</div>
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >新闻管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/news.do?method=findAllNewsToht" target="main">新闻管理</a>
				</c:if>
			</div>
		</div>
	</div>
	<!-- 新闻管理模块菜单项        结束  -->
	<!-- 产品管理模块菜单项        开始  -->
	<div id = "product">
			<div id = "product">
		<div style="padding-left:5px;"> 
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >产品信息管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/proInfo.do?method=findAllProInfo" target="main">产品信息管理</a>
				</c:if>
			</div>
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >产品类型管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/proClass.do?method=findAllProClass" target="main">产品类型管理</a>
				</c:if>
			</div>
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
								<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >产品常见问题管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/proQues.do?method=findAllProQues" target="main">产品常见问题管理</a>
				</c:if>
			</div>
		</div>
	</div>
	</div>
	<!-- 产品管理模块菜单项      结束 -->
	<!-- 资料管理模块菜单项  开始 -->
	<div id = "data">
		<div style="padding-left:5px;">          
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >资料管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/download.do?method=findAllToht" target="main">资料管理</a>
				</c:if>
			</div>
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >添加资料</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/pages/houtai/download/addDownload.jsp" target="main">添加资料</a>
				</c:if>
			</div>
		</div>
	</div>
	<!-- 资料管理模块菜单项  结束 -->
		<!-- 用户交流管理模块菜单项  开始 -->
	<div id = "customer">
		<div style="padding-left:5px;">          
			<div style="padding-top:2px">
				<img src="${ctx}/images/icons/folder_add.gif" class="icon">
				<c:if test="${user==null}">
				<a href="${ctx}/pages/login.jsp" >用户留言管理</a></c:if>
				<c:if test="${user!=null}">
				<a href="${ctx}/message.do?method=findAll" target="main">用户留言管理</a>
				</c:if>
			</div>
		</div>
	</div>
	 <!-- 用户交流管理模块菜单项  结束 -->
	
</div>
